<?php
/**
 * shop.php
 *
 * @copyright  2023 beikeshop.com - All Rights Reserved
 * @link       https://beikeshop.com
 * @author     TL <mengwb@guangda.work>
 * @created    2023-05-11 17:33:13
 * @modified   2023-05-11 17:33:13
 */

use Beike\Models\Customer;
use Illuminate\Support\Facades\Route;
use Plugin\MultiSeller\Http\Controllers\Shop\CartController;
use Plugin\MultiSeller\Http\Controllers\Shop\Seller\CategoryController;
use Plugin\MultiSeller\Http\Controllers\Shop\Seller\HomeController;

Route::middleware('checkout_auth:' . Customer::AUTH_GUARD)
    ->group(function () {
        Route::get('carts', [CartController::class, 'index'])->name('carts.index');
    });

Route::get('/seller-{sid}', [HomeController::class, 'index'])->name('seller.home.index');
Route::get('/seller-{sid}/category/{id}', [CategoryController::class, 'show'])->name('seller_categories.show');
